package com.zk.iotgateway.dao;

import com.zk.iotgateway.domain.param.IotConfigDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ${DESCRIPTION}
 *
 * @author:mn.m
 * @create 2019-05-05 上午 09:00
 **/
@Mapper
public interface IotConfigMapper {

    int deleteByPrimaryKey(String port);

    int insert(IotConfigDO record);

    int insertSelective(IotConfigDO port);

    IotConfigDO selectByPrimaryKey(String port);

    int updateByPrimaryKeySelective(IotConfigDO record);

    int updateByPrimaryKey(IotConfigDO record);

    List<IotConfigDO> listAll();

    List<IotConfigDO> listAllValid();

}
